Cytosim  PI
Cytoskeleton Simulator
How to create a Solid

Specify number of points and shape:

new solid NAME
{
nb_points = INTEGER
radius = REAL
shape = SHAPE
}

SHAPE can be surface, inside, equator or cluster.

Instead of providing 'shape', it is possible to specify the points and their associated radii directly, as follows:

new solid NAME
{
nb_points = INTEGER
point0 = POSITION, RADIUS
point1 = POSITION, RADIUS
...
}

POSITION can be a VECTOR, or one of the keywords:

How to add Single

Different methods can be used to attach Single to the points of a Solid:

new sphere NAME
{
attach = SINGLE_SPEC [, SINGLE_SPEC] ...
attach_each = SINGLE_SPEC [, SINGLE_SPEC] ...
}

Where SINGLE_SPEC is 'NUMBER SINGLE_NAME' or simply 'SINGLE_NAME', for example grafted or 10 grafted, if this is the name of a Single. With attach, the Singles are distributed randomly on the points. With attach_each, the specification is repeated for each point, and each point thus receive the same number of single.

Method 3 - Specify Singles for individual point:

new solid NAME
{
point0 = POSITION, RADIUS, SINGLE_SPEC, ...
point1 = POSITION, RADIUS, SINGLE_SPEC, ...
point2 = POSITION, RADIUS, SINGLE_SPEC, ...
...
}

POSITION can be a Vector, or the strings 'inside', 'surface', 'equator'. Several SINGLE_SPEC can be specified.